sudo.ts ➔ requireSudo   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
1
import execa from 'execa'
2
3
function requireSudo(): execa.ExecaChildProcess {
4
    return execa('sudo', ['-v'])
5
}
6
7
export {
8
    requireSudo
9
}